Skip to content

Conversation

sjpb
Copy link
Collaborator

@sjpb sjpb commented Sep 9, 2025

Will help catch errors if an Ansible update introduces a new variable provided by OpenTofu (e.g. when #666 added compute_groups) but the OpenTofu configurations haven't been correctly upgraded. Currently, this just leads to a templating error at some point during site.yml which is hard to debug.

This also "documents" the expected interface from OpenTofu to Ansible.

@sjpb sjpb marked this pull request as ready for review September 9, 2025 12:12
@sjpb sjpb requested a review from a team as a code owner September 9, 2025 12:12
Copy link
Contributor

@wtripp180901 wtripp180901 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, just double checking for cases we might miss

@sjpb sjpb force-pushed the feat/validate-tf-ansible-vars branch from 0118cd2 to 437c78d Compare September 10, 2025 14:27
@sjpb sjpb requested a review from wtripp180901 September 10, 2025 14:27
Copy link
Contributor

@wtripp180901 wtripp180901 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sjpb sjpb merged commit b42c2f8 into main Sep 11, 2025
3 of 6 checks passed
@sjpb sjpb deleted the feat/validate-tf-ansible-vars branch September 11, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants